<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

    <title>My Google</title>

    <script type="text/javascript" src="<?php echo base_url(); ?>public/js/jquery.min.js"></script>
    <script src="<?php echo base_url(); ?>public/js/bst.min.js"></script>
    <link href="<?php echo base_url(); ?>public/css/bst.min.css" rel="stylesheet" />
    <link href="<?php echo base_url(); ?>public/css/style.css" rel="stylesheet" />
    <script type="text/javascript" src="<?php echo base_url(); ?>public/js/md5.js"></script>  
    <script language="javascript" type="text/javascript">
    function resizeIframe(obj) {
        obj.style.height = obj.contentWindow.document.body.scrollHeight + 'px';
    }
    </script>
</head>
<body>
    <div class="navbar navbar-inverse navbar-fixed-top">
        <div class="navbar-inner">
            <div class="container-fluid">
                <a class="brand" href="<?php echo base_url(); ?>">My Google</a>
                <?php if ($this->session->userdata('logged_in') == TRUE): ?>
                <ul class="nav pull-right">
                    <li class="divider-vertical"></li>
                    <li class="dropdown">
                        <a data-toggle="dropdown" class="dropdown-toggle" href="#"><?php echo $this->session->userdata('email'); ?>  <b class="caret"></b></a>
                        <ul class="dropdown-menu">
                            <li>
                                <a id="logoutbutton" href="<?php echo base_url() . 'index.php/auth/logout/?redirect=' . urlencode(uri_string()); ?>">
                                    Thoát
                                </a>
                            </li>
                        </ul>
                    </li>
                </ul>
            <?php endif;?>
        </div>
    </div>
</div>